package jnpf.model.ragFlow.knowApiCreate;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import jnpf.model.ragFlow.know.ParserConfig;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(description = "知识更新请求对象")
public class UpdateKnowReq implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "知识库 ID")
    private String kb_id;

    @Schema(description = "知识库名称", example = "test")
    private String name;

    @Schema(description = "头像地址", example = "")
    private String avatar;

    @Schema(description = "知识库描述", nullable = true)
    private Object description;

    @Schema(description = "权限范围", example = "me")
    private String permission;

    @Schema(description = "解析配置")
    private ParserConfig parser_config;

    @Schema(description = "嵌入模型 ID", example = "BAAI/bge-large-zh-v1.5@BAAI")
    private String embd_id;

    @Schema(description = "解析器 ID", example = "naive")
    private String parser_id;

    @Schema(description = "页面排名", example = "0")
    private int pagerank;


}
